<div class="row-content am-cf">
    <div class="row">
        <div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
            <div class="widget am-cf">
                <div class="widget-head am-cf">
                    <div class="widget-title am-cf">问卷详情</div>
                </div>
                <div class="widget-body am-fr">
                    
                    

                    <!-- 问卷内容 -->
                    <div class="am-form-group">
                        <label class="am-u-sm-3 am-u-lg-2 am-form-label">问卷内容：</label>
                        <div class="am-u-sm-9 am-u-end">
                            <ul class="am-list">
                                <?php if (!empty($content)): ?>
                                    <?php foreach ($content as $question => $answers): ?>
                                        <li>
                                            <strong><?php echo htmlspecialchars($question); ?>：</strong>
                                            <span>
                                                <?php if (is_array($answers)): ?>
                                                    <?php foreach ($answers as $index => $answer): ?>
                                                        <?php echo htmlspecialchars($answer); ?><?php if ($index < count($answers) - 1): ?>, <?php endif; ?>
                                                    <?php endforeach; ?>
                                                <?php else: ?>
                                                    <?php echo htmlspecialchars($answers); ?>
                                                <?php endif; ?>
                                            </span>
                                        </li>
                                    <?php endforeach; ?>
                                <?php else: ?>
                                    <li>暂无问卷内容</li>
                                <?php endif; ?>
                            </ul>
                        </div>
                    </div>
                    
                </div>
            </div>
        </div>
    </div>
</div>